package order_food_order_detail

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ OrderFoodOrderDetailModel = (*customOrderFoodOrderDetailModel)(nil)

type (
	// OrderFoodOrderDetailModel is an interface to be customized, add more methods here,
	// and implement the added methods in customOrderFoodOrderDetailModel.
	OrderFoodOrderDetailModel interface {
		orderFoodOrderDetailModel
	}

	customOrderFoodOrderDetailModel struct {
		*defaultOrderFoodOrderDetailModel
	}
)

// NewOrderFoodOrderDetailModel returns a model for the database table.
func NewOrderFoodOrderDetailModel(conn sqlx.SqlConn) OrderFoodOrderDetailModel {
	return &customOrderFoodOrderDetailModel{
		defaultOrderFoodOrderDetailModel: newOrderFoodOrderDetailModel(conn),
	}
}
